import { Selector } from '@ngxs/store';
import { BookState, BookStateModel } from '.';

export class BookSelector {
  @Selector([BookState])
  static list({list}: BookStateModel) {
    return list || [];
  }
}
